using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace vdside
{
    public partial class Form1 : Divelements.SandRibbon.RibbonForm
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button3_Activate(object sender, EventArgs e)
        {

        }

        private void mainMenuItem1_Activate(object sender, EventArgs e)
        {

        }

        private void menuItem1_Activate(object sender, EventArgs e)
        {

        }

        private void popupHeading1_Activate(object sender, EventArgs e)
        {

        }

        private void button1_Activate(object sender, EventArgs e)
        {
            MessageBox.Show("Extencibility is not avaible in this current release. Extencibility should be integrated in CTP Releace 2.", "Visual Studio 2005 Integration", MessageBoxButtons.OK, MessageBoxIcon.Stop);

        }

        private void button2_Activate(object sender, EventArgs e)
        {
            MessageBox.Show("Extencibility is not avaible in this current release. Extencibility should be integrated in CTP Releace 2.", "Visual Studio 2005 Integration", MessageBoxButtons.OK, MessageBoxIcon.Stop);
        }

        private void mainMenuItem5_Activate(object sender, EventArgs e)
        {
            MessageBox.Show("Importing is not avaible in this current release. Importing should be integrated in the final releace.", "Visual Developer Studio 2008", MessageBoxButtons.OK, MessageBoxIcon.Stop);
        }

        private void mainMenuItem12_Activate(object sender, EventArgs e)
        {
            MessageBox.Show("Exporting is not avaible in this current release. Exporting should be integrated in the final releace.", "Visual Developer Studio 2008", MessageBoxButtons.OK, MessageBoxIcon.Stop);
        }

        private void mainMenuItem9_Activate(object sender, EventArgs e)
        {
            vdside.Docking.DocumentMainForm DocumentForm = new vdside.Docking.DocumentMainForm();
            DocumentForm.DockAreas = WeifenLuo.WinFormsUI.Docking.DockAreas.Document;
            DocumentForm.label1.Text = "NewFile";
            DocumentForm.Show(dockPanel1);
            
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void mainMenuItem11_Activate(object sender, EventArgs e)
        {

        }

        private void mainMenuItem8_Activate(object sender, EventArgs e)
        {
            openFileDialog1.ShowDialog();
            vdside.Docking.DocumentMainForm DocumentForm = new vdside.Docking.DocumentMainForm();
            try
            {
                DocumentForm.DockAreas = WeifenLuo.WinFormsUI.Docking.DockAreas.Document;
                DocumentForm.textBox1.Text = System.IO.File.ReadAllText(openFileDialog1.FileName);
                DocumentForm.label1.Text = openFileDialog1.FileName;
                DocumentForm.Show(dockPanel1);
            }
            catch
            {
            }

            }
        }
    }
